home *** CD-ROM | disk | FTP | other *** search
/ Informática Multimedia 1995 April / Informatica Multimedia CD - Epimundo.iso / DOS / ARCHIVE / CK4COMP.ZIP / CHK4COMP.DOC < prev    next >
Encoding:
Text File  |  1992-01-05  |  8.3 KB  |  163 lines

  1. CHK4COMP.EXE  Ver. 3.6 (12-07-91) by John Land, Esq. (Patent & Copyright Law)
  2.  
  3. Shows which .EXE & .COM files have been compressed by PKLITE, LZEXE, DIET, AXE,
  4. LEXEM, TINYPROG, SHRINK, EXECUTRIX, SCRNCH, ICE, OPTLINK, or EXEPACK, plus
  5. WINDOWS files & misnamed .EXE & .COM files.  Output sortable by size, name,
  6. date, or time, & is redirectable.  Subdirectories can be looped through.
  7.  
  8. USAGE is:  CHK4COMP {filespec}  {/option}...   [{filespec} can take wildcards].
  9.  
  10. Listing options (can use - or / to start each option):
  11.   /A  -- All specified files (default is all .COM and .EXE files)
  12.   /C  -- Compressed files only; suboptions:
  13.          /CL = Lzexe   /CP = Pklite  /CD = Diet  /CU = execUtrx  /CX = leXem
  14.          /CC = sCrnch  /CS = Shrink  /CA = Axe   /CT = Tinyprog  /CI = Ice
  15.          /CO = Optlink /CE = Exepack
  16.   /U  -- Uncompressed files only (use /Un, n = 0{=½},1,2,4 to list files > nK)
  17.   /M  -- Misnamed .COM and .EXE files only (no wildcards accepted)
  18.   /E  -- displays -1 for EXEPACK compression; EXEPACK testing NOT included
  19.          (speeds up testing)
  20.  
  21. Sort options:
  22.   /S  -- by file Size (default)     /D  -- by file Date
  23.   /N  -- by file Name               /T  -- by file Time
  24.  
  25. Other options:
  26.   /X  -- eXclude display of all information except totals
  27.   /L  -- Loop through subdirectories
  28.   /P  -- Pause after each 25 lines
  29.   /V  -- Verbose mode; shows file dates and times, plus the amount of
  30.          compression, as a percentage of file size, required to save one
  31.          more disk cluster (cluster size is determined from the disk
  32.          containing the listed files)
  33.   /R  -- Redirect mode; suppress most banners and file info
  34.  
  35. NOTES:   If the ▒ symbol shows in an information line for a file, then that
  36.          file is a WINDOWS .EXE file.  If the ≡ symbol shows, then that
  37.          file APPEARS to use overlays (the calculated file size is not
  38.          equal to the actual file size).  "X" for a PKLITE file means
  39.          "eXtra" compression; "L" means "Large extractor".
  40.  
  41.          You can add up to 2 strings (a before file-list string and an after
  42.          file-list string) to redirected output.  Just put the strings in
  43.          single quotes.  Spaces are allowed.
  44.  
  45.          EXAMPLE:  CHK4COMP /u/r 'PKlite -o'
  46.  
  47.          This will output a list of UNcompressed files preceded by
  48.          "PKlite -o", which can be redirected to a batch file (e.g., by
  49.          adding ">temp.bat").
  50.  
  51.          With the /L option, all subdirectories under the current
  52.          subdirectory are searched, but banners are shown ONLY for those
  53.          subdirectories with files matching the initial search criteria
  54.          (e.g., compressed *.EXE files).
  55.  
  56.          Searching for EXEPACK'd files is slow, because the tag bytes are
  57.          in non-uniform locations near the END of a file.  However, the
  58.          default mode INCLUDES searching for EXEPACK'd files; use /E to
  59.          exclude them.  Note also that CHK4COMP only searches the last 64
  60.          KB of large .EXE files for the EXEPACK tag bytes.
  61.  
  62.          The ability to add a size parameter to the /U option gives you the
  63.          ability to limit display of uncompressed files to only those over
  64.          a certain cluster size.  For example, on a normal hard disk over
  65.          10MB in size, the cluster size is 2,048 bytes.  Usually there would
  66.          be no point in compressing a file that is already smaller than the
  67.          cluster size, since no space would be saved on the hard disk.  On
  68.          the other hand, the cluster size on a 360 KB floppy is 512 bytes.
  69.  
  70. (use /Un, n = 0{=½},1,2,4 to list
  71. files > nK)
  72.  
  73. VERSION
  74. NOTES:
  75.        2.00  -- added checking for PKlite compression of .EXE files.
  76.        2.10  -- added checking for compression of .COM files by PKLITE,
  77.                 fixed output for banner suppression (redirection /r)
  78.                 switch, added option to search ONLY for LZEXE, PKlite, or
  79.                 TINYPROG compressed files.
  80.        2.21  -- made checking for misnamed .EXE and .COM files automatic;
  81.                 added checking for compression by DIET 1.00 and SEA-AXE;
  82.                 distinguishes PKlite v. 1.00 from v. 1.03.
  83.        2.30  -- Corrected error in detecting different versions of PKlite;
  84.                 added detection for LEXEM; conformed code to slight
  85.                 differences required by Turbo Pascal 6.0.
  86.        2.50  -- Added detection for SHRINK; added page-pause option; added
  87.                 ability to create text before and after redirected output.
  88.        2.60  -- Added sorting by date/time; added Totals only mode; revised
  89.                 display of totals; added verbose mode to show file date and
  90.                 time.
  91.        2.70  -- Added detection for EXEPACK.
  92.        2.80  -- Added detection for EXECUTRIX; revised totals format.
  93.        2.90  -- Added detection for WINDOWS .EXE files.
  94.        2.95  -- Added detection for apparent overlay files.
  95.        2.97  -- Added totals for no. of WINDOWS and overlay files.
  96.        2.99  -- Added sorting by date OR time.
  97.        3.00  -- Added detection for SCRNCH; fixed minor bug in displaying
  98.                 very small ( < 100 bytes) files after running CHK4COMP
  99.                 twice in a row.
  100.        3.05  -- Added detection for ICE.
  101.        3.10  -- Corrected bug that wouldn't let CHK4COMP find any files
  102.                 when checking a directory other than the current directory;
  103.                 added detection for DIET 1.02; added ability to limit
  104.                 display of uncompressed files to only those over a certain
  105.                 cluster size.
  106.        3.20  -- Added calculation of amount of percentage of compression
  107.                 required to save one more disk cluster (part of /V display).
  108.        3.50  -- Changed algorithm for determining version number of PKLITE
  109.                 files; now also notes PKLITE files with extra compression.
  110.        3.55  -- Changed algorithm for determining major and minor version
  111.                 number of PKLITE files; now also notes files having the
  112.                 "large extractor" flag set.
  113.        3.60  -- Added detection for OPTLINK (used by NORTON UTILITIES).
  114.  
  115.  
  116.  
  117.          ----------------end-of-author's-documentation---------------
  118.  
  119.                          Software Library Information:
  120.  
  121.                     This disk copy provided as a service of
  122.  
  123.                            Public (software) Library
  124.  
  125.          We are not the authors of this program, nor are we associated
  126.          with the author in any way other than as a distributor of the
  127.          program in accordance with the author's terms of distribution.
  128.  
  129.          Please direct shareware payments and specific questions about
  130.          this program to the author of the program, whose name appears
  131.          elsewhere in  this documentation. If you have trouble getting
  132.          in touch with the author,  we will do whatever we can to help
  133.          you with your questions. All programs have been tested and do
  134.          run.  To report problems,  please use the form that is in the
  135.          file PROBLEM.DOC on many of our disks or in other written for-
  136.          mat with screen printouts, if possible.  PsL cannot debug pro-
  137.          programs over the telephone, though we can answer questions.
  138.  
  139.          Disks in the PsL are updated  monthly,  so if you did not get
  140.          this disk directly from the PsL, you should be aware that the
  141.          files in this set may no longer be the current versions. Also,
  142.          if you got this disk from another vendor and are having prob-
  143.          lems,  be aware that  some files may have become corrupted or
  144.          lost by that vendor. Get a current, working disk from PsL.
  145.  
  146.          For a copy of the latest monthly software library newsletter
  147.          and a list of the 4,000+ disks in the library, call or write
  148.  
  149.                            Public (software) Library
  150.                                P.O.Box 35705 - F
  151.                             Houston, TX 77235-5705
  152.  
  153.                                 1-800-2424-PSL
  154.                              MC/Visa/AmEx/Discover
  155.  
  156.                           Outside of U.S. or in Texas
  157.                           or for general information,
  158.                               Call 1-713-524-6394
  159.  
  160.                           PsL also has an outstanding
  161.                           catalog for the Macintosh.
  162.  
  163.